[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Thomas Meyer
] \starttext \input{knuth} \startlinecorrection \placefigure[left, none] []{}\externalfigure[cow.pdf][width=40mm] \input{knuth} \stoplinecorrection \stoptext Thomas Am 06.04.24 um 13:43 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 06.04.2024 um 12:56: Am 06.04.24 um 12:48 schrieb Thomas

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 06.04.2024 um 12:56: Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disab

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Henning Hraban Ramm
Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disable,nowhite,back}" https://wiki.contextgarden.ne

[NTG-context] blank line and \placefigure

2024-04-06 Thread Thomas Meyer
Hi folks, how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Thanks and greetings on a sunny weekend Thomas ___ If your question is of interest to others

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
On 12/9/2023 4:33 PM, Aditya Mahajan wrote: On Sat, 9 Dec 2023, Wolfgang Schuster wrote: \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}:

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 17:19: Very clear ! In typography for Mathematics books, what choice should we make for the best possible result ? A question better answered by Mikael or Aditya! Wolfgang

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
On Sat, 9 Dec 2023, Wolfgang Schuster wrote: > \starttext > > \startlines > \type{\frac{1}{3}}: \m{\frac{1}{3}} > \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} > \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} > \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} > \type{\sfrac{1}{3}}: \m{\sfrac{1}{3}} > \type{\frac{1}{3}}:

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 16:13: Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{}

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread anton . chigurh
Thanks :-) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{} and \tfrac{} ? Fabrice Le sam. 9 déc. 2023 à 14:00,

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Henning Hraban Ramm
Am 09.12.23 um 14:43 schrieb Wolfgang Schuster: anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}:

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
anton.chig...@mail.com schrieb am 09.12.2023 um 14:15: I worked, ;-), thanks. Let me ask you another thing, how can I avoid messing up the line spacing by using \sqrt and \frac, the line that follows these has increased line spacing in the pdf output code: Find the normal and shearing stresses

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
I worked, ;-), thanks. Let me ask you another thing, how can I avoid messing up the line spacing by using \sqrt and \frac, the line that follows these has increased line spacing in the pdf output code: Find the normal and shearing stresses on an oblique plane defined by $l=\sqrt{\frac{3}{13}}$,

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
anton.chig...@mail.com schrieb am 09.12.2023 um 11:50: Hi all, I am generating a quiz, with eight questions, each with text and a figure following it. The output was fine till the fifth question, but then the margin separating the text of each question disappeared and the figure got put on the

[NTG-context] \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
Hi all, I am generating a quiz, with eight questions, each with text and a figure following it. The output was fine till the fifth question, but then the margin separating the text of each question disappeared and the figure got put on the next page one after the other. Can anyone suggest what I

Re: [NTG-context] Bug (?) with \placefigure[right]

2022-08-16 Thread Wolfgang Schuster via ntg-context
} \placefigure[right] {} {\externalfigure[cow.pdf] [width=3cm]} \input lorem } \stoptext I actually want \placefigure[right,none] in my real doc but that also goes awry. LMTX current version: 2022.08.05 11:44 My actual requirement is to have a set of short biographies, including a small 'passport' photo

[NTG-context] Bug (?) with \placefigure[right]

2022-08-16 Thread Bruce Horrocks via ntg-context
Things start to go awry after about 5 or 6 iterations, 12 shows it up clearly with three or so nearly blank (except for the subject) pages produced. \setuppapersize [A5] [A5] \starttext \dorecurse{12}{ \subject{Some heading} \placefigure[right] {} {\externalfigure[cow.pdf] [width=3cm]} \input

Re: [NTG-context] How to stop \placefigure from floating off to some other page?

2022-01-30 Thread Henning Hraban Ramm via ntg-context
Am 30.01.22 um 00:44 schrieb Bruce Horrocks via ntg-context: On 29 Jan 2022, at 21:30, Joel via ntg-context wrote: When I used `\placefigure`, ConTeXt often puts the figure on a completely different page, my readership of young students is getting confused where the image is. How can I have

Re: [NTG-context] How to stop \placefigure from floating off to some other page?

2022-01-29 Thread Bruce Horrocks via ntg-context
On 29 Jan 2022, at 21:30, Joel via ntg-context wrote: > > When I used `\placefigure`, ConTeXt often puts the figure on a completely > different page, my readership of young students is getting confused where the > image is. How can I have all of my `\placefigure` in the ent

[NTG-context] How to stop \placefigure from floating off to some other page?

2022-01-29 Thread Joel via ntg-context
When I used `\placefigure`, ConTeXt often puts the figure on a completely different page, my readership of young students is getting confused where the image is. How can I have all of my `\placefigure` in the entire document appear exactly where called, even if that means having to place

Re: [NTG-context] placefigure, usetikzlibrary and readfile

2021-08-02 Thread Hans Hagen via ntg-context
included.tex should contain *just* the TikZ picture and what is needed to compile it "standalone". The issue: It seems I can call the file with the TikZ picture description multiple times, with \readfile, from within the very same \placefigure. However, if I call it by using two

[NTG-context] placefigure, usetikzlibrary and readfile

2021-08-01 Thread Jigé via ntg-context
and what is needed to compile it "standalone". The issue: It seems I can call the file with the TikZ picture description multiple times, with \readfile, from within the very same \placefigure. However, if I call it by using two successive \placefigure commands, the \usetikzlibr

[NTG-context] placefigure RTL

2021-03-05 Thread Mohammad Hossein Bateni
Hello, Is there a way to make \placefigure[left,right] work in RTL documents? Here's a MWE: \starttext \setupalign[r2l] \placefigure[none,right]{}{\externalfigure[cow]} \input knuth \placefigure[none,left]{}{\externalfigure[cow]} \input knuth \page \setupalign[l2r] \placefigure[none,right

[NTG-context] lmtx \placefigure and bizarre captions

2020-11-21 Thread Bertrand Masson
Hello When I compile my file with ConText-Luatex from Texlive 2019 (linux debian) I get the right result. On the other hand with the last version of LMTX I have a 2nd caption above the image (see attached file). It's not on all the pictures, it's random.

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 18:05, Aditya Mahajan wrote: > On Tue, 10 Nov 2020, mf wrote: > > > Il 10/11/20 09:42, Sylvain Hubert ha scritto: > > > Dear List, > > > > > > Does anyone know how to indent the paragraph beneath \placefigure in > the > >

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2020, mf wrote: > Il 10/11/20 09:42, Sylvain Hubert ha scritto: > > Dear List, > > > > Does anyone know how to indent the paragraph beneath \placefigure in the > > following example? > > > >     \indenting[2em] > >    

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 10:05, mf wrote: > Il 10/11/20 09:42, Sylvain Hubert ha scritto: > > Dear List, > > > > Does anyone know how to indent the paragraph beneath \placefigure in the > > following example? > > > > \indenting[2em] > >

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread mf
Il 10/11/20 09:42, Sylvain Hubert ha scritto: Dear List, Does anyone know how to indent the paragraph beneath \placefigure in the following example?     \indenting[2em]     \setupindenting[yes]     \starttext     \dorecurse{50}{a b c }     \placefigure[here,none][indentnext=yes

[NTG-context] Indentation after \placefigure

2020-11-10 Thread Sylvain Hubert
Dear List, Does anyone know how to indent the paragraph beneath \placefigure in the following example? \indenting[2em] \setupindenting[yes] \starttext \dorecurse{50}{a b c } \placefigure[here,none][indentnext=yes]{}{ \startMPcode draw fullcircle scaled 1cm

[NTG-context] Wrong page number when placefigure spans full page in columnset

2020-09-09 Thread Charles Vejnar
,grid=yes] \showframe \usemodule[newcolumnsets] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \dorecurse{16}{\input ward \par} \placefigure[page]{Legend. \input ward }{\externalfigure[dummy][width=\makeupwidth,height=15cm]} \section{Two section

Re: [NTG-context] placefigure right or left error in ver: 2018.04.04 00:51 MKIV

2019-09-27 Thread Pablo Rodriguez
On 9/27/19 2:33 PM, Philippe Oechslin wrote: > Hello there, > > I recently upgraded to ConTeXt ver: 2018.04.04 00:51 MKIV and found that > the following simple code gives an error, where as it compiled without > complaining in ver: 2017.05.15 21:48. > [...] > I am running a freshly installed

[NTG-context] placefigure right or left error in ver: 2018.04.04 00:51 MKIV

2019-09-27 Thread Philippe Oechslin
Hello there, I recently upgraded to ConTeXt ver: 2018.04.04 00:51 MKIV and found that the following simple code gives an error, where as it compiled without complaining in ver: 2017.05.15 21:48. \setupexternalfigures[location={local,default}] \starttext \input ward \placefigure[left,none

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 9:38 PM, Hans van der Meer wrote: > Thanks, indeed this does the trick. > But I wonder:  Has \placefigure then a default [indentnext=no] instead > of abstaining from meddling with the indent setting? This might be similar to indenting after headings. To get the paragraphs

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Hans van der Meer
Thanks, indeed this does the trick. But I wonder: Has \placefigure then a default [indentnext=no] instead of abstaining from meddling with the indent setting? dr. Hans van der Meer > On 6 Dec 2018, at 21:25, Pablo Rodriguez wrote: > > On 12/6/18 6:10 PM, Hans van der Meer wrote:

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 6:10 PM, Hans van der Meer wrote: > I used \setupindenting[always,medium]. This works everywhere except > after a figure placed with \placefigure. Why does placing the figure > suppress the indent after it? And how can this behaviour be changed? I wonder whehter \setupflo

[NTG-context] indenting after placefigure

2018-12-06 Thread Hans van der Meer
I used \setupindenting[always,medium]. This works everywhere except after a figure placed with \placefigure. Why does placing the figure suppress the indent after it? And how can this behaviour be changed? dr. Hans van der Meer

[NTG-context] Wrong section space after placefigure with newcolumnsets

2018-04-05 Thread Charles Vejnar
e subsection" in the example below. Tested with ConTeXt ver: 2018.04.04 and LuaTeX, Version 1.07.0. This seems to be the opposite problem as the one described recently in the thread "Bug in wrapped placefigure". Any solution or fix? Thank you very much for your help. Char

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Hans Hagen
On 3/29/2018 11:17 PM, Henri Menke wrote: On Thu, 2018-03-29 at 13:20 +0200, Hans Hagen wrote: On 3/29/2018 12:50 PM, Henri Menke wrote: Dear devs, When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread luigi scarso
On Thu, Mar 29, 2018 at 11:17 PM, Henri Menke wrote: > BTW: What snapshot is going to be in TL18? current (ie tags/1.07.0) with luatex lua 5.2.4 -- luigi ___ If your question is of interest

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Henri Menke
On Thu, 2018-03-29 at 13:20 +0200, Hans Hagen wrote: > On 3/29/2018 12:50 PM, Henri Menke wrote: > > > > Dear devs, > > > > When a figure is wrapped in a paragraph and that paragraph is the first > > in a section, ConTeXt adds spurious vertical space above the text > > (eyeballing it, I'd say it

Re: [NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Hans Hagen
On 3/29/2018 12:50 PM, Henri Menke wrote: Dear devs, When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text (eyeballing it, I'd say it is \topskip). Find MWE with workaround below. Found at

[NTG-context] Bug in wrapped placefigure

2018-03-29 Thread Henri Menke
Dear devs, When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text (eyeballing it, I'd say it is \topskip). Find MWE with workaround below. Found at https://tex.stackexchange.com/questions/423817 Cheers, Henri

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2018-01-12 Thread Hans Hagen
On 1/12/2018 6:44 PM, Rik Kabel wrote: Bump. This has come up a few times, but never resolved. Is there the possibility of an option for placefigure to discard remaining depth at a page break? it's more a aside effect of operating at the edge of the page (i'm reluctant to change

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2018-01-12 Thread Rik Kabel
Bump. This has come up a few times, but never resolved. Is there the possibility of an option for placefigure to discard remaining depth at a page break? -- Rik On 2015-08-25 10:14, Rik Kabel wrote: On 2015-08-25 03:41, Andreas Becker wrote: ConTeXt version: 2015.08.21 19:57 In the PDF

Re: [NTG-context] Bug with \underbar and \placefigure[right]

2016-09-08 Thread Wolfgang Schuster
Florian Leupold <mailto:fleup...@posteo.net> 8. September 2016 um 13:49 Dear list, I would like to report a bug: When \underbar is used for the first word of a paragraph in conjunction with \placefigure[right], the text overwrites the figure. MNWE: \setupexternalfigures[order={pdf,p

[NTG-context] Bug with \underbar and \placefigure[right]

2016-09-08 Thread Florian Leupold
Dear list, I would like to report a bug: When \underbar is used for the first word of a paragraph in conjunction with \placefigure[right], the text overwrites the figure. MNWE: \setupexternalfigures[order={pdf,png,jpg}, location={local,global,default}] \starttext \placefigure[right, none

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-06 Thread Florian Leupold
> On 06.09.16, at 02:55, Aditya Mahajan wrote: > > On Mon, 5 Sep 2016, Florian Leupold wrote: > >> One problem, however, persists: The theorem environment gets misplaced when >> a figure is placed to its left: >> >> \setupexternalfigures[location=default] >>

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-05 Thread Florian Leupold
way=bychapter, >> stopper={:}, >> distance=1ex, >> width=fit, >> style=normal, >> hang=fit] >> \defineenumeration[theorem] >> \starttext >> \chapter{First chapter} >> \starttheorem >> The square on the hypotenuse is eq

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Wolfgang Schuster
Florian Leupold 4. September 2016 um 19:37 Issues with the documentation: - In “ConTeXt Commands”, it says on page 224 that \setupenumeration inherits from \setupcounter; but in “ConTEXt reference manual", it says on page 246 that \setupenumerations inherits from

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Otared Kavian
gt; distance=1ex, > width=fit, > style=normal, > hang=fit] > \defineenumeration[theorem] > \starttext > \chapter{First chapter} > \starttheorem > The square on the hypotenuse is equal to the sum of the squares on the other > two sides. > \stoptheorem &g

[NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Florian Leupold
The square on the hypotenuse is equal to the sum of the squares on the other two sides. \stoptheorem \chapter{Second chapter} \placefigure[right, none]{}{\externalfigure[mill]} \starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. \stoptheorem

Re: [NTG-context] Marginrule levels after \placefigure[right]

2016-08-28 Thread Aditya Mahajan
On Sun, 28 Aug 2016, Aditya Mahajan wrote: Hi, This is based on a question on TeX.SE https://tex.stackexchange.com/questions/326653/context-wrapfigure-interacts-with-marginrule All marginrules except those of level 1 stop working after \placefigure[right]. Here is a minimal example

[NTG-context] Marginrule levels after \placefigure[right]

2016-08-28 Thread Aditya Mahajan
Hi, This is based on a question on TeX.SE https://tex.stackexchange.com/questions/326653/context-wrapfigure-interacts-with-marginrule All marginrules except those of level 1 stop working after \placefigure[right]. Here is a minimal example: \useexternalfigure[ctanlion][http://www.ctan.org

Re: [NTG-context] columnset and placefigure

2016-08-20 Thread Wolfgang Schuster
Hans Hagen 19. August 2016 um 23:51 best do your experiments with the new column sets (put this on top of your file for now: \input page-cst.mkiv The new code can also be loaded as a module with \usemodule[newcolumnsets] Wolfgang

Re: [NTG-context] columnset and placefigure

2016-08-19 Thread Hans Hagen
-spanning features, but I might in the future. The thing is, when I place a figure using `\placefigure` and the column distance is too large (i.e. the columns too narrow), the figure is not placed on spot but flushed to the next page. I'm unsure what the exact value for this threshold is and based

Re: [NTG-context] columnset and placefigure

2016-08-19 Thread Henri Menke
, but I > might in the future. > > The thing is, when I place a figure using `\placefigure` and the column > distance is too large (i.e. the columns too narrow), the figure is not > placed on spot but flushed to the next page. I'm unsure what the exact > value for this thresho

[NTG-context] Vertical space lost (\placefigure[right] before enumeration)

2016-08-15 Thread Mikael P. Sundqvist
it, before={\blank[line]}, after={\blank[line]}, ] \starttext \input knuth \startexample \input tufte \stopexample \page[yes] \input knuth \placefigure[right,high]{}{\blackrule[width=3cm,height=4cm]} \startexample \input tufte \stopexample \page[yes] \input knuth \blank[line] \placefigure[

[NTG-context] columnset and placefigure

2016-07-20 Thread Henri Menke
`\placefigure` and the column distance is too large (i.e. the columns too narrow), the figure is not placed on spot but flushed to the next page. I'm unsure what the exact value for this threshold is and based on which criteria the figure is flushed. While this is not a problem in a normal document

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
On Tue, 15 Mar 2016 23:01:46 +0100 Wolfgang Schuster wrote: > \startplacefigure [location={inmargin,none}] Thank you, clean and elegant (and much easier than Willi's suggestion). The syntax is a bit magical, though ("location" of the caption). Alan

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Wolfgang Schuster
Alan BRASLAU 15. März 2016 um 21:43 Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Willi Egger
I would define another float and assign this not to be listed float to this new float-type something like \definefloat[Notlisted][figure] and then \startplaceNotlisted \externalf… \stopplaceNotlisted Best wishes Willi > On 15 mrt. 2016, at 21:43, Alan BRASLAU

[NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure [location=inmargin,number=no,list=no] \externalfigure [cow] [width=1cm] \stopplacefigure \input

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2015-08-25 Thread Rik Kabel
On 2015-08-25 03:41, Andreas Becker wrote: ConTeXt version: 2015.08.21 19:57 In the PDF output of the following code, the first text line on the second page only spans half the textwidth. However, below the figure, the text should span the whole width. \starttext \placefigure[right][]{caption

[NTG-context] Bug: Paragraph formatting on new page after placefigure

2015-08-25 Thread Andreas Becker
ConTeXt version: 2015.08.21 19:57 In the PDF output of the following code, the first text line on the second page only spans half the textwidth. However, below the figure, the text should span the whole width. \starttext \placefigure[right][]{caption} { \externalfigure[nop][width=0.5\textwidth

[NTG-context] \placefigure[right,high] in two column mode

2015-06-11 Thread Mojca Miklavec
Hello, Is it possible to place a figure to the right in two column mode? I always get it centered for some reason. \setupexternalfigures[location={local,global,default}] \starttext \startcolumns[two] % doesn't work \startplacefigure[location={nonumber,right,high}]

Re: [NTG-context] framed and placefigure

2014-10-27 Thread Alan BRASLAU
On Sun, 26 Oct 2014 22:51:47 + DesdeChaves desdecha...@gmail.com wrote: why this happens: Because that is what you specified: After a specification of the foregroundcolor  the figures are  behind a framed color. 

[NTG-context] framed and placefigure

2014-10-26 Thread DesdeChaves
, width=\textwidth] For example, is this case my \placefigure[right,nonumber,2*hang] {}{\externalfigure[ostrichhead][width=5cm]} is behind a yellow framed rectangle. Jorge ___ If your question is of interest to others

[NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Mojca Miklavec
Hi, I would like to vertically shift the placement of figures (\placefigure[right]...), so that the upper side of the figure would be aligned with the top of the first line in a paragraph as opposed to the bottom of the first paragraph. Here's a minimal example. The second ugly workaround shows

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Wolfgang Schuster
Am 07.05.2014 um 14:23 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com: Hi, I would like to vertically shift the placement of figures (\placefigure[right]...), so that the upper side of the figure would be aligned with the top of the first line in a paragraph as opposed

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
I would like to vertically shift the placement of figures (\placefigure[right]...), so that the upper side of the figure would be aligned with the top of the first line in a paragraph as opposed to the bottom [of the first line?] of the first paragraph. Ah, I can finally answer a question

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Mojca Miklavec
On Wed, May 7, 2014 at 2:48 PM, Sanjoy Mahajan wrote: I would like to vertically shift the placement of figures (\placefigure[right]...), so that the upper side of the figure would be aligned with the top of the first line in a paragraph as opposed to the bottom [of the first line

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
[sidespaceafter=0pt] \hrule \placefigure[right,high]{Caption}{\framed[width=5cm,height=4.3cm]{}} \input knuth } \vskip1cm \hrule \placefigure[right,high]{Caption}{\framed[width=5cm,height=4.3cm]{}} \input knuth \stoptext

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
with a baseline. The top can then protrude, if the height is not a multiple of the line height. But, if the figure heights are right, it would look good in combination with \setupfloats[sidespaceafter=0pt]. -Sanjoy \starttext \hrule \placefigure[right]{Caption}{\framed[width=5cm,height=4.3cm]{}} \input

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Romain Diss
Hi, Le 07/05/2014, Sanjoy Mahajan a écrit Here are a few more keys. I don't fully understand their effect, but I found them in strc-flt.mkvi (p.s. shouldn't that be .mkiv ?). Some of the keys are documented in the 'details' manual (http://www.pragma-ade.com/general/manuals/details.pdf) in

[NTG-context] \placefigure and title bug in latest beta

2014-04-06 Thread Alan Bowen
Hans-- In today's beta, the following produces a figure entitled Figure 1 title: \setupexternalfigures[location={local,default}] \starttext \useexternalfigure[cow.pdf] \startplacefigure[title={A cow}] {\externalfigure[Graphic][cow.pdf]} \stopplacefigure \stoptext Alan

Re: [NTG-context] \placefigure and title bug in latest beta

2014-04-06 Thread Otared Kavian
Hi, I can confirm this… This is probably due to the new features Hans added today. Also, the new feature \placelist[figure][criterium=text] places indeed the list of the figures, but the names of the figures, or rather their captions are all indicated by the word « list ». Best

[NTG-context] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Alan Bowen
The following does not work as it should: setupexternalfigures[location={local,default}] \starttext text% \footnote{\hangsidefloat[2] \placefigure[right,none]{} {\externalfigure[cow][width=.1\textwidth]} \dorecurse{3}{\input ward}} %for comparison \hangsidefloat[2] \placefigure[right,none

Re: [NTG-context] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Wolfgang Schuster
Am 03.03.2014 um 16:04 schrieb Alan Bowen bowenala...@gmail.com: The following does not work as it should: setupexternalfigures[location={local,default}] \starttext text% \footnote{\hangsidefloat[2] \placefigure[right,none]{} {\externalfigure[cow][width=.1\textwidth

Re: [NTG-context] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Alan Bowen
...@gmail.com wrote: Am 03.03.2014 um 16:04 schrieb Alan Bowen bowenala...@gmail.com: The following does not work as it should: setupexternalfigures[location={local,default}] \starttext text% \footnote{\hangsidefloat[2] \placefigure[right,none]{} {\externalfigure[cow][width=.1\textwidth

[NTG-context] Bug in \placefigure[right]?

2014-01-13 Thread Mari Voipio
Hello! For a while I've been baffled by a weird bug where sometimes I get overset text when using \placefigure[right]. The problem appeared sometime this autumn in places where everything has worked before. This far I've (reluctantly) worked my way around the bug by using hard line breaks where

Re: [NTG-context] Bug in \placefigure[right]?

2014-01-13 Thread Wolfgang Schuster
Am 13.01.2014 um 12:22 schrieb Mari Voipio mari.voi...@iki.fi: Hello! For a while I've been baffled by a weird bug where sometimes I get overset text when using \placefigure[right]. The problem appeared sometime this autumn in places where everything has worked before. This far I've

Re: [NTG-context] Bug in \placefigure[right]?

2014-01-13 Thread Mari Voipio
On Mon, Jan 13, 2014 at 1:27 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: It’s a known problem when you have a font switch at the begin of a paragraph and you can avoid it only when you force horizontal mode before you change the font with \dontleavehmode{\tfx …} … Ah, I just

Re: [NTG-context] Bug in \placefigure[right]?

2014-01-13 Thread Alan Braslau
On Mon, 13 Jan 2014 16:23:24 +0200 Mari Voipio mari.voi...@iki.fi wrote: On Mon, Jan 13, 2014 at 1:27 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: It’s a known problem when you have a font switch at the begin of a paragraph and you can avoid it only when you force horizontal

Re: [NTG-context] Placefigure without Caption-Numbering

2013-12-01 Thread Alan Braslau
On Sat, 30 Nov 2013 21:06:20 +0100 Jan Tosovsky j.tosov...@email.cz wrote: Indeed much cleaner. But that numbering option seems to be ignored ;-) Does it work for you? Sorry, it is number=no. Alan ___ If your

Re: [NTG-context] Placefigure without Caption-Numbering

2013-11-30 Thread Jan Tosovsky
On 2013-04-16 Wolfgang Schuster wrote: Am 16.04.2013 um 18:56 schrieb H. Özoguz h.oezoguz at mmnetz.de: How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure[image][width=6cm]} \stoptext I want the caption Blub, but not the Figure 1

Re: [NTG-context] Placefigure without Caption-Numbering

2013-11-30 Thread Alan Braslau
On Sat, 30 Nov 2013 19:42:54 +0100 Jan Tosovsky j.tosov...@email.cz wrote: On 2013-04-16 Wolfgang Schuster wrote: Am 16.04.2013 um 18:56 schrieb H. Özoguz h.oezoguz at mmnetz.de: How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure

Re: [NTG-context] Placefigure without Caption-Numbering

2013-11-30 Thread Jan Tosovsky
On 2013-11-30 Alan Braslau wrote: On Sat, 30 Nov 2013 19:42:54 +0100 Jan Tosovsky j.tosov...@email.cz wrote: On 2013-04-16 Wolfgang Schuster wrote: Am 16.04.2013 um 18:56 schrieb H. Özoguz How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub

[NTG-context] Missing { inserted using placefigure and postponing

2013-09-21 Thread Marco Patzer
Hi, I get a “Missing { inserted.” error under certain circumstances. Here is an example: \starttext \blackrule [height=8cm] \startpostponing \placefigure [] {foo}{bar} \stoppostponing \blackrule [height=15cm] \startlines a b \stoplines \stoptext I used black rules

Re: [NTG-context] Missing { inserted using placefigure and postponing

2013-09-21 Thread Hans Hagen
On 9/21/2013 12:01 PM, Marco Patzer wrote: Hi, I get a “Missing { inserted.” error under certain circumstances. Here is an example: \starttext \blackrule [height=8cm] \startpostponing \placefigure [] {foo}{bar} \stoppostponing \blackrule [height=15cm] \startlines

[NTG-context] placefigure problem

2013-08-20 Thread Wim W. Wilhelm
{s1-titel} text \placefigure[none,left]{}{\externalfigure[c:/context/tekeningen/hemelbol.pdf][height=6cm]} text \placefigure[none,left]{}{\externalfigure[c:/context/tekeningen/afplatting.pdf][height=4cm]} text \section{s2-title} text \stoptext The figures were placed in the middle of the page

Re: [NTG-context] placefigure problem

2013-08-20 Thread Hans Hagen
compiled: \starttext \chapter{c-titel} \section{s1-titel} text \placefigure[none,left]{}{\externalfigure[c:/context/tekeningen/hemelbol.pdf][height=6cm]} text \placefigure[none,left]{}{\externalfigure[c:/context/tekeningen/afplatting.pdf][height=4cm]} text \section{s2-title} text \stoptext The figures

[NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
Hi all! This worked in MkII but doesn't in MkIV. Did something changed? Cheers, Tim \starttext \input knuth \placefigure[left]{}{\externalfigure[figurename]} \input knuth \placefigure[inner]{}{\externalfigure[figurename]} \input knuth \stoptext

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Marco Patzer
On 2013–08–04 Tim Steenvoorden wrote: \starttext \input knuth \placefigure[left]{}{\externalfigure[figurename]} \input knuth \placefigure[inner]{}{\externalfigure[figurename]} What do you want to do? Place it in the margin? \placefigure[inleft]{}{\externalfigure[figurename]} Marco

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
Steenvoorden wrote: \starttext \input knuth \placefigure[left]{}{\externalfigure[figurename]} \input knuth \placefigure[inner]{}{\externalfigure[figurename]} What do you want to do? Place it in the margin? \placefigure[inleft]{}{\externalfigure[figurename]} Marco

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Wolfgang Schuster
Am 04.08.2013 um 22:40 schrieb Marco Patzer home...@lavabit.com: On 2013–08–04 Tim Steenvoorden wrote: \starttext \input knuth \placefigure[left]{}{\externalfigure[figurename]} \input knuth \placefigure[inner]{}{\externalfigure[figurename]} What do you want to do? Place

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
Pitty. I used it a lot in a project I'm porting to MkIV. Will it be fixed someday? 2013/8/4 Wolfgang Schuster schuster.wolfg...@gmail.com: Am 04.08.2013 um 22:40 schrieb Marco Patzer home...@lavabit.com: On 2013–08–04 Tim Steenvoorden wrote: \starttext \input knuth \placefigure[left

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Wolfgang Schuster
Am 04.08.2013 um 22:53 schrieb Tim Steenvoorden tim.steenvoor...@gmail.com: Pitty. I used it a lot in a project I'm porting to MkIV. Will it be fixed someday? It depends on Hans, I’ll send him a mail about the problem. Wolfgang

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Tim Steenvoorden
Thanks Wolfgang! 2013/8/4 Wolfgang Schuster schuster.wolfg...@gmail.com: Am 04.08.2013 um 22:53 schrieb Tim Steenvoorden tim.steenvoor...@gmail.com: Pitty. I used it a lot in a project I'm porting to MkIV. Will it be fixed someday? It depends on Hans, I’ll send him a mail about the

[NTG-context] Placefigure without Caption-Numbering

2013-04-16 Thread H. Özoguz
How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure[image][width=6cm]} \stoptext I want the caption Blub, but not the Figure 1 label. Thanks! Huseyin ___ If your question

Re: [NTG-context] Placefigure without Caption-Numbering

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 18:56 schrieb H. Özoguz h.oezo...@mmnetz.de: How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure[image][width=6cm]} \stoptext I want the caption Blub, but not the Figure 1 label. \placefigure[here,nonumber]{…}{…} Wolfgang

  1   2   3   4   >